<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <link href="__STATIC__/public/css/bootstrap.min.css" rel="stylesheet">
    <title>popularize - 计算工资</title>
</head>

<body>
    <header>
        <div class="jumbotron">
            <h1>计算工资</h1>
            <a class="btn btn-primary" role="button" href="{:Url('index')}">首页</a>
        </div>
    </header>
    <main>
        <div style="background-color: #fff" class="jumbotron">
            <form action="{:Url('calculation')}" method="post">
                <div class="form-group">
                    <label for="months">时间</label>
                    <select class="form-control" id="months" name="months">
                        {volist name="data" id="row"}
                            {if $row == $months}
                                <option value="{$row}" selected>{$row}</option>
                                {else /}
                                <option value="{$row}">{$row}</option>
                            {/if}
                        {/volist}
                    </select>
                </div>
                <button type="submit" class="btn btn-outline-primary">计算</button>
            </form>
        </div>
    </main>
</body>

</html>